Masala #0141
Bilmasvoy ingliz tilida
Bilmasvoy ingliz tilini o'rganmoqda, u bugungi darsda ingliz tilida soat necha bo'lganligini qanday aytilishini o'rgandi, unga o'qituvchisining o'rgatishi bo'yicha ingliz tilida soat agar minut = 0 bo'lsa "o' clock" orqali, agar minut ≤ 30 bo'lsa "past" orqali, agar minut > 30 bo'lsa "to" orqali aytilar ekan.
Masalan:
Soat millari Bilmasvoyga aytilganida u qanday javob berishini toping.
INPUT.TXT kirish faylining dastlabki satrida bitta butun son, soat (1 ≤ soat ≤ 12), ikkinchi satrida esa minut(0 ≤ minut < 60) millari kiritiladi.
OUTPUT.TXT chiqish faylida Bilmasvoyning javobini chop eting.
# | input.txt | output.txt |
---|---|---|
1 |
5 47 |
thirteen minutes to six |
2 |
3 00 |
three o' clock |